<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="author" content="23ps" />
    <meta name="copyright" content="www.23ps.com" />
    <meta name="keywords" content="{dede:field name='keywords'/}" />
    <meta name="description" content="{dede:field name='description' function='html2text(@me)'/}" />
    <title>{dede:field.title/}_{dede:global.cfg_webname/}</title>
    <link href="{dede:global.cfg_templets_skin/}/style/style.css" rel="stylesheet" type="text/css" />
    <link href="/rssfeed.xml" rel="alternate" type="application/rss+xml" title="图片处理教程网 RSS Feed" />
    <link href="/opensearch.xml" rel="search" type="application/opensearchdescription+xml" title="图片处理教程网" />
	<script src="{dede:global.cfg_templets_skin/}/js/jquery.js" type="text/javascript"></script>
	<script type="text/javascript" src="{dede:global.cfg_templets_skin/}/js/comments.js"></script>
</head>

<body class="detailedpage">
    <!-- header -->
    {dede:include filename="head.htm"/}
    <!-- header end -->
    
    <!-- content -->
    <div class="content clearfix">
        <div class="breadcrumbs"><a href="/">主页</a> &gt; <span>{dede:field.title/}</span></div>
        <div class="main-col mod-detailed-page">
            <h2 class="post-title title">{dede:field.title/}</h2>
            <div class="post-detailed-box">
                <div class="post-info">
                    <strong>
                    {dede:field.mid runphp='yes'}
                    			$dsql = new dedesql();
                            	$mid = intval(@me);
                            	if($mid == 0) {
                            		$mid = 1;
                            	}
                            	$user = $dsql->getOne("select mid,userid,uname from ps_member where mid=".$mid);
                            	if(empty($user['userid'])){
                            		$username = $user['userid'] = 'admin';
                            	}else if(!empty($user['userid'])){
                            		$username = $user['userid'];
                            	}else{
                            		$username = $user['userid'];
                            	}
                            	@me = "<a href='/member/index.php?uid=".$user['userid']."' class='user'>".$username."</a>";
                    {/dede:field.mid}
                    </strong><span>发布于：{dede:field.pubdate function="MyDate('Y-m-d',@me)"/}</span>
                </div>
                <div class="post-content clearfix">
                    <!-- coneent -->
                     {dede:field.body/}  
                    <!-- end -->
                </div>
                
                
            </div>
            <!-- MOD:END -->
        </div>
        <div class="right-sidebar">
            <div class="ad-300x250">
                {dede:myad name='AD-300x250x1'/}
            </div>
            <!-- ad-300x250:END -->
            <div class="mod-box mod-hot">
                <div class="mod-box-head">
                    <h4 class="title">您可能会喜欢</h4>
                </div>
                <div class="mod-box-body clearfix">
                    <ul>
                    {dede:arclist row='1000' pagesize='15' titlelen='1000' orderby='rand'}
                    <li><a href="[field:arcurl/]" title="[field:title /]">[field:title /]</a></li>
                    {/dede:arclist}               
                    </ul>
                </div>
                <div class="mod-box-foot">
                </div>
            </div>
            <!-- MOD:END -->
            <div class="download"><a href="/download.htm"><img src="/templets/23ps/img/download.png" /></a></div>
        </div>
    </div>
    <!-- content end -->
s    {dede:include filename="footer.htm"/}
    
</body>
</html>